package com.github.jiangxch.rpc.common.model;

import java.io.Serializable;

/**
 * @author: jiangxch
 * @date: 2021/2/19 下午11:08
 */
public class Pair<K,V> implements Serializable {
    private K key;
    private V value;
    
    public Pair(K key, V value) {
        this.key = key;
        this.value = value;
    }
    
    public K getKey() {
        return key;
    }

    public V getValue() {
        return value;
    }
}
